package com.acme.exceptions;

import com.acme.domain.account.Account;

public class OverDraftLimitExceededException extends NoEnoughFundsException {

    Account blockedAccount = null;
    double availableAmount = -1;

    public OverDraftLimitExceededException(Account account, String message) {
        super(message);
        blockedAccount = account;
    }

    public double getAvailableAmount() {
        return availableAmount;
    }
}
